package crx_field_method_04;

public class User {
    String username;
    String password;
    public boolean login(String usernameParam,String passwordParam){
       System.out.println("接受到的用户名"+usernameParam);
      System.out.println("接收到的密码" +passwordParam);


        if (usernameParam.equals("wyj") && passwordParam.equals("12345")){
            return true;
        } else{
            return false;
        }
    }


}


